package com.zhiyou100.dao;

import java.util.List;

import javax.transaction.Transactional;
//事务注解
@Transactional
public interface BaseDAO <E>{
	public void add(E e);
	public void update(E e);
	public void deleteById(int id);
	public List<E> queryAll();
	public E queryById(int id);
}
